module.exports = app => {
    const { STRING, INTEGER } = app.Sequelize;
    const User = app.model.define('user', {
        uid: { type: INTEGER, primaryKey: true, autoIncrement: true },//用户id
        name: { type: STRING(32), allowNull: false },//姓名
    })
    return User;
}